package com.JobFind.DAO;

import java.util.List;
import com.JobFind.model.TbUser;

public interface IUserDAO {

	public List<TbUser> loginCheck(String userLoginName) throws Exception;
	
	public TbUser getUserInfoById(Integer userId) throws Exception;
	
	public List<TbUser> getUserInfoByNickName(String userNickName) throws Exception;
	
	public Integer updateUserInfo(Integer userId,String homePlace,String birthday,String userNickName,String userNation) throws Exception;

	public Integer modifyUserPwd(Integer userId,String userPwd) throws Exception;
	
	public Integer addUser(TbUser userBean) throws Exception;
	
	public List<TbUser> getAllUncheckUser() throws Exception;
	
	public Integer checkUserInfo(Integer userId,Integer userStatus) throws Exception;
	
	public Integer updateUser(TbUser userBean) throws Exception;
	
	public Integer updateUserCom(Integer userId,Integer companyId) throws Exception;
	
	public String getUserLoinNameById(Integer userId)throws Exception;
}
